let http = require('http');

let port = 8080;

http.createServer(function(req, res) {
    console.log('incomming request!');
    console.log('method: ', req.method);
    console.log('url: ', req.url);
    console.log('header: ', req.headers);
    res.writeHead(200, {'Content-Type': 'text/plain'});
    res.end('Such Captcha! Much Protec! www.google.com/recaptcha/api.js Wow!');
}).listen(port);

console.log('Starting super simple http server on localhost:' + port + '!');
